using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Windows.Forms;

namespace SUnit.Core
{
	public static class Logger
	{
		public static void Log(string message)
		{            
			StreamWriter writer = new StreamWriter(Path.Combine(Application.StartupPath, "sunit.log.txt"), true);
            
			writer.WriteLine("---------------------------------------------");
			writer.WriteLine(string.Format("Hora: {0}", DateTime.Now));
			writer.WriteLine(message);
			writer.WriteLine();
			writer.Close();
		}
	}
}
